package com.xy.article;

import com.xy.creature.Creature;
/**
 * @description:大刀
 * @author: Xiang Yao
 * @date: Created in 2020/6/7
 */
public abstract class WeaponMachete extends ArticleWeapon{
    @Override
    public void useArticle(Creature enemyCreature) {
        enemyCreature.setHPValue(enemyCreature.getHPValue()+this.getDamagaPoint());
    }

    public WeaponMachete(String id, String description, int damagaPoint) {
        super(id, description, damagaPoint);
    }
}
